import Vue from 'vue'
import VueRouter from 'vue-router'
import Layout from '@/layout'

Vue.use(VueRouter)

const routes = [
    {
        path: '/',
        component: Layout,
        redirect: '/main'
    },
    //请假申请流程开始
    {
        path: '/main/renshi/kaoqing/qingjia',
        component: () => import('@/views/main/renshi/kaoqing/qingjia.vue'),
        meta: { title: '请假申请' }
    },
    {
        path: '/main/renshi/kaoqing/qingjia-list',
        component: () => import('@/views/main/renshi/kaoqing/qingjiaList.vue'),
        meta: { title: '请假申请列表' }
    },
    //绩效考核管理流程
    {
        path: '/main/renshi/performance',
        component: () => import('@/views/main/renshi/performance/performance.vue'),
        children: [
            {
                path: 'process',
                name: 'PerformanceProcess',
                component: () => import('@/views/main/renshi/performance/process.vue'),
                meta: { title: '绩效考核管理流程' }
            }
        ]
    },
    //加班申请流程
    {
        path: '/main/renshi/kaoqing/jiabansq',
        component: () => import('@/views/main/renshi/kaoqing/jiabansq.vue'),
        meta: { title: '加班申请单' }
    },
    {
        path: '/main/renshi/kaoqing/jiabansq-list',
        component: () => import('@/views/main/renshi/kaoqing/jiabansqList.vue'),
        meta: { title: '加班申请单列表' }
    },
    //出差申请流程
    {
        path: '/main/renshi/kaoqing/gwwaichu',
        component: () => import('@/views/main/renshi/kaoqing/gwwaichu.vue'),
        meta: { title: '公务外出申请单' }
    },
    {
        path: '/main/renshi/kaoqing/gwwaichu-list',
        component: () => import('@/views/main/renshi/kaoqing/gwwaichuList.vue'),
        meta: { title: '公务外出申请单列表' }
    },
    //招聘申请流程
    {
        path: '/main/renshi/zhaoping',
        component: () => import('@/views/main/renshi/zhaoping/zhaoping.vue'),
        children: [
            {
                path: 'process',
                component: () => import('@/views/main/renshi/zhaoping/process.vue'),
                meta: { title: '招聘流程' }
            },
            {
                path: 'zhiweiyaoqiu',
                component: () => import('@/views/main/renshi/zhaoping/zhiweiyaoqiu.vue'),
                meta: { title: '职位要求' }
            },
            {
                path: 'shaixinjianli',
                component: () => import('@/views/main/renshi/zhaoping/shaixinjianli.vue'),
                meta: { title: '简历筛选' }
            },
            {
                path: 'mianshianpai',
                component: () => import('@/views/main/renshi/zhaoping/mianshianpai.vue'),
                meta: { title: '面试安排' }
            },
            {
                path: 'daipin',
                component: () => import('@/views/main/renshi/zhaoping/daipin.vue'),
                meta: { title: '待聘名单' }
            },
            {
                path: 'ruzhishenpi',
                component: () => import('@/views/main/renshi/zhaoping/ruzhishenpi.vue'),
                meta: { title: '入职审批' }
            },
            {
                path: 'shiyongkaohe',
                component: () => import('@/views/main/renshi/zhaoping/shiyongkaohe.vue'),
                meta: { title: '试用考核' }
            },
            {
                path: 'zhengshirenzhi',
                component: () => import('@/views/main/renshi/zhaoping/zhengshirenzhi.vue'),
                meta: { title: '正式任职' }
            },
            {
                path: 'xuexifangan',
                component: () => import('@/views/main/renshi/zhaoping/xuexifangan.vue'),
                meta: { title: '学习方案' }
            },
            {
                path: 'qianyuehetong',
                component: () => import('@/views/main/renshi/zhaoping/qianyuehetong.vue'),
                meta: { title: '签约合同' }
            }
        ]
    },
    //培训申请流程
    {
        path: '/main/renshi/peixun',
        component: () => import('@/views/main/renshi/peixun/peixun.vue'),
        children: [
            {
                path: 'process',
                component: () => import('@/views/main/renshi/peixun/process.vue'),
                meta: { title: '培训流程' }
            },
            {
                path: 'exam',
                component: () => import('@/views/main/renshi/peixun/exam.vue'),
                meta: { title: '培训考核' }
            },
            {
                path: 'evaluate',
                component: () => import('@/views/main/renshi/peixun/evaluate.vue'),
                meta: { title: '培训评估' }
            }
        ]
    },
    //接待申请流程
    {
        path: '/main/xingzheng/jiedai',
        component: () => import('@/views/main/xingzheng/jiedai/jiedai.vue'),
        children: [
            {
                path: 'process',
                component: () => import('@/views/main/xingzheng/jiedai/process.vue'),
                meta: { title: '接待流程' }
            },
            {
                path: 'jiedaisq',
                component: () => import('@/views/main/xingzheng/jiedai/jiedaisq.vue'),
                meta: { title: '接待申请' }
            },
            {
                path: 'bumenshenpi',
                component: () => import('@/views/main/xingzheng/jiedai/bumenshenpi.vue'),
                meta: { title: '部门审批' }
            },
            {
                path: 'xingzhengshenpi',
                component: () => import('@/views/main/xingzheng/jiedai/xingzhengshenpi.vue'),
                meta: { title: '行政审批' }
            },
            {
                path: 'jiedaianpai',
                component: () => import('@/views/main/xingzheng/jiedai/jiedaianpai.vue'),
                meta: { title: '接待安排' }
            },
            {
                path: 'feiyongbaoxiao',
                component: () => import('@/views/main/xingzheng/jiedai/feiyongbaoxiao.vue'),
                meta: { title: '费用报销' }
            }
        ]
    },
    //物业管理流程
    {
        path: '/main/wuye',
        component: () => import('@/views/main/wuye/wuye.vue'),
        children: [
            {
                path: 'process',
                component: () => import('@/views/main/wuye/process.vue'),
                meta: { title: '物业管理流程' }
            },
            {
                path: 'baoxiusq',
                component: () => import('@/views/main/wuye/baoxiusq.vue'),
                meta: { title: '报修申请' }
            },
            {
                path: 'baoxiusq-list',
                component: () => import('@/views/main/wuye/baoxiusq-list.vue'),
                meta: { title: '报修申请列表' }
            },
            {
                path: 'wuyesh',
                component: () => import('@/views/main/wuye/wuyesh.vue'),
                meta: { title: '物业审核' }
            },
            {
                path: 'weixiupd',
                component: () => import('@/views/main/wuye/weixiupd.vue'),
                meta: { title: '维修派单' }
            },
            {
                path: 'weixiucl',
                component: () => import('@/views/main/wuye/weixiucl.vue'),
                meta: { title: '维修处理' }
            },
            {
                path: 'wangongqr',
                component: () => import('@/views/main/wuye/wangongqr.vue'),
                meta: { title: '完工确认' }
            },
            {
                path: 'feiyongjs',
                component: () => import('@/views/main/wuye/feiyongjs.vue'),
                meta: { title: '费用结算' }
            },
            {
                path: 'facility',
                component: () => import('@/views/main/wuye/facility/facility.vue'),
                children: [
                    {
                        path: 'process',
                        component: () => import('@/views/main/wuye/facility/process.vue'),
                        meta: { title: '设施设备管理流程' }
                    },
                    {
                        path: 'inspection',
                        component: () => import('@/views/main/wuye/facility/inspection.vue'),
                        meta: { title: '设备巡检' }
                    },
                    {
                        path: 'maintenance',
                        component: () => import('@/views/main/wuye/facility/maintenance.vue'),
                        meta: { title: '维护保养' }
                    },
                    {
                        path: 'repair',
                        component: () => import('@/views/main/wuye/facility/repair.vue'),
                        meta: { title: '故障维修' }
                    },
                    {
                        path: 'upgrade',
                        component: () => import('@/views/main/wuye/facility/upgrade.vue'),
                        meta: { title: '更换升级' }
                    }
                ]
            },
            {
                path: 'vehicle',
                component: () => import('@/views/main/wuye/vehicle/vehicle.vue'),
                children: [
                    {
                        path: 'process',
                        component: () => import('@/views/main/wuye/vehicle/process.vue'),
                        meta: { title: '车辆管理流程' }
                    },
                    {
                        path: 'apply',
                        component: () => import('@/views/main/wuye/vehicle/apply.vue'),
                        meta: { title: '用车申请' }
                    },
                    {
                        path: 'approval',
                        component: () => import('@/views/main/wuye/vehicle/approval.vue'),
                        meta: { title: '审批审核' }
                    },
                    {
                        path: 'dispatch',
                        component: () => import('@/views/main/wuye/vehicle/dispatch.vue'),
                        meta: { title: '车辆派遣' }
                    },
                    {
                        path: 'record',
                        component: () => import('@/views/main/wuye/vehicle/record.vue'),
                        meta: { title: '用车记录' }
                    },
                    {
                        path: 'return',
                        component: () => import('@/views/main/wuye/vehicle/return.vue'),
                        meta: { title: '归还确认' }
                    }
                ]
            },
            {
                path: 'dormitory',
                component: () => import('@/views/main/wuye/dormitory/dormitory.vue'),
                children: [
                    {
                        path: 'process',
                        component: () => import('@/views/main/wuye/dormitory/process.vue'),
                        meta: { title: '宿舍管理流程' }
                    },
                    {
                        path: 'apply',
                        component: () => import('@/views/main/wuye/dormitory/apply.vue'),
                        meta: { title: '宿舍申请' }
                    },
                    {
                        path: 'approval',
                        component: () => import('@/views/main/wuye/dormitory/approval.vue'),
                        meta: { title: '审批分配' }
                    },
                    {
                        path: 'checkin',
                        component: () => import('@/views/main/wuye/dormitory/checkin.vue'),
                        meta: { title: '入住登记' }
                    },
                    {
                        path: 'manage',
                        component: () => import('@/views/main/wuye/dormitory/manage.vue'),
                        meta: { title: '日常管理' }
                    },
                    {
                        path: 'checkout',
                        component: () => import('@/views/main/wuye/dormitory/checkout.vue'),
                        meta: { title: '退宿办理' }
                    }
                ]
            }
        ]
    },





    {
        path: '/main',
        component: () => import('@/views/main/main.vue'),
        children: [
    {
        path: '/main/biao/wenjianzl',
        component: () => import('@/views/main/biao/wenjianzl.vue'),
        meta: { title: '文件管制总览表0001' }
    },
    {
        path: '/main/biao/wenjianzl-list',
        component: () => import('@/views/main/biao/wenjianzl-list.vue'),
        meta: { title: '文件管制总览表列表0001' }
    },
    {
        path: '/main/biao/biaodanzl',
        component: () => import('@/views/main/biao/biaodanzl.vue'),
        meta: { title: '表单管制总览表0002' }
    },
    {
        path: '/main/biao/biaodanzlList',
        component: () => import('@/views/main/biao/biaodanzlList.vue'),
        meta: { title: '表单管制总览表列表0002' }
    },
    {
        path: '/main/biao/wailai',
        component: () => import('@/views/main/biao/wailai.vue'),
        meta: { title: '外来文件登记表0003' }
    },
    {
        path: '/main/biao/wailaiList',
        component: () => import('@/views/main/biao/wailaiList.vue'),
        meta: { title: '外来文件登记表列表0003' }
    },
    {
        path: '/main/biao/huishen',
        component: () => import('@/views/main/biao/huishen.vue'),
        meta: { title: '文件会审表0004' }
    },
    {
        path: '/main/biao/huishenList',
        component: () => import('@/views/main/biao/huishenList.vue'),
        meta: { title: '文件会审表列表0004' }
    },
    {
        path: '/main/biao/wjbufa',
        component: () => import('@/views/main/biao/wjbufa.vue'),
        meta: { title: '文件补发申请单0005' }
    },
    {
        path: '/main/biao/wjbufaList',
        component: () => import('@/views/main/biao/wjbufaList.vue'),
        meta: { title: '文件补发申请单列表0005' }
    },
    {
        path: '/main/biao/ffhuishou',
        component: () => import('@/views/main/biao/ffhuishou.vue'),
        meta: { title: '文件发放与回收记录0006' }
    },
    {
        path: '/main/biao/ffhuishouList',
        component: () => import('@/views/main/biao/ffhuishouList.vue'),
        meta: { title: '文件发放与回收记录列表0006' }
    },

    {
        path: '/main/biao/ffhuishous',
        component: () => import('@/views/main/biao/ffhuishous.vue'),
        meta: { title: '文件发放与回收记录0007' }
    },
    {
        path: '/main/biao/ffhuishousList',
        component: () => import('@/views/main/biao/ffhuishousList.vue'),
        meta: { title: '文件发放与回收记录列表0007' }
    },
    {
        path: '/main/biao/xdfeizhi',
        component: () => import('@/views/main/biao/xdfeizhi.vue'),
        meta: { title: '文件修订/废止申请单0008' }
    },
    {
        path: '/main/biao/xdfeizhiList',
        component: () => import('@/views/main/biao/xdfeizhiList.vue'),
        meta: { title: '文件修订/废止申请单列表0008' }
    },
    {
        path: '/main/biao/xiaohui',
        component: () => import('@/views/main/biao/xiaohui.vue'),
        meta: { title: '文件销毁申请单0009' }
    },
    {
        path: '/main/biao/xiaohuiList',
        component: () => import('@/views/main/biao/xiaohuiList.vue'),
        meta: { title: '文件销毁申请单列表0009' }
    },
    {
        path: '/main/biao/jieyue',
        component: () => import('@/views/main/biao/jieyue.vue'),
        meta: { title: '文件借阅登记表0010' }
    },
    {
        path: '/main/biao/jieyueList',
        component: () => import('@/views/main/biao/jieyueList.vue'),
        meta: { title: '文件借阅登记表列表0010' }
    },
            {
                path: '/main/wenjianguanli',
                component: () => import('@/views/main/wenjianguanli/wenjianguanli.vue'),
                children: [
                    {
                        path: 'process',
                        component: () => import('@/views/main/wenjianguanli/process.vue'),
                        meta: { title: '文件管理流程' }
                    }
                ]
            },
            {
                path: '/main/renshi/reward',  // 使用相对路径
                component: () => import('@/views/main/renshi/reward/reward.vue'),
                children: [
                    {
                        path: 'process',
                        component: () => import('@/views/main/renshi/reward/process.vue'),
                        meta: { title: '奖惩管理流程' }
                    }
                ]
            },
            {
                path: 'wuye/publicfacility',  // 使用相对路径
                component: () => import('@/views/main/wuye/publicfacility/publicfacility.vue'),
                children: [
                    {
                        path: 'process',
                        component: () => import('@/views/main/wuye/publicfacility/process.vue'),
                        meta: { title: '公共设备设施管理流程' }
                    }
                ]
            },
            {
                path: 'culture',
                component: () => import('@/views/main/culture/culture.vue'),
                children: [
                    {
                        path: 'process',
                        component: () => import('@/views/main/culture/process.vue'),
                        meta: { title: '企业文化管理流程' }
                    }
                ]
            },
            {
                path: 'xingzheng/purchase',
                component: () => import('@/views/main/xingzheng/purchase/purchase.vue'),
                children: [
                    {
                        path: 'process',
                        component: () => import('@/views/main/xingzheng/purchase/process.vue'),
                        meta: { title: '行政物品采购与发放管理流程' }
                    }
                ]
            },
        ]
    },
    // 行政管理相关路由
    {
        path: '/main/xingzheng',
        component: () => import('@/views/main/xingzheng/xingzheng.vue'),
        meta: { title: '行政管理' }
    },
    {
        path: '/main/xingzheng/gudingzichan',
        component: () => import('@/views/main/xingzheng/gudingzichan/gudingzichan.vue'),
        meta: { title: '固定资产管理' }
    },
    {
        path: '/main/xingzheng/gudingzichan/gdzcpandian',
        component: () => import('@/views/main/xingzheng/gudingzichan/gdzcpandian.vue'),
        meta: { title: '固定资产盘点表' }
    },
    {
        path: '/main/xingzheng/gudingzichan/gdzcpandian-list',
        component: () => import('@/views/main/xingzheng/gudingzichan/gdzcpandianList.vue'),
        meta: { title: '固定资产盘点表列表' }
    },
    {
        path: '/main/xingzheng/gdzczhuanyi/gdzczhuanyi',
        component: () => import('@/views/main/xingzheng/gdzczhuanyi/gdzczhuanyi.vue'),
        meta: { title: '固定资产转移单' }
    },
    {
        path: '/main/xingzheng/gdzczhuanyi/gdzczhuanyiList',
        component: () => import('@/views/main/xingzheng/gdzczhuanyi/gdzczhuanyiList.vue'),
        meta: { title: '固定资产转移单列表' }
    },
    {
        path: '/main/xingzheng/sbweixiusq/sbweixiusq',
        component: () => import('@/views/main/xingzheng/sbweixiusq/sbweixiusq.vue'),
        meta: { title: '设备维修申请单' }
    },
    {
        path: '/main/xingzheng/sbweixiusq/sbweixiusqList',
        component: () => import('@/views/main/xingzheng/sbweixiusq/sbweixiusqList.vue'),
        meta: { title: '设备维修申请单列表' }
    },
    {
        path: '/main/xingzheng/sbyanshou/sbyanshou',
        component: () => import('@/views/main/xingzheng/sbyanshou/sbyanshou.vue'),
        meta: { title: '设备验收记录表' }
    },
    {
        path: '/main/xingzheng/sbyanshou/sbyanshouList',
        component: () => import('@/views/main/xingzheng/sbyanshou/sbyanshouList.vue'),
        meta: { title: '设备验收记录表列表' }
    },
    {
        path: '/main/xingzheng/rukudan/rukudan',
        component: () => import('@/views/main/xingzheng/rukudan/rukudan.vue'),
        meta: { title: '成品入库单' }
    },
    {
        path: '/main/xingzheng/rukudan/rukudanList',
        component: () => import('@/views/main/xingzheng/rukudan/rukudanList.vue'),
        meta: { title: '成品入库单列表' }
    },
    {
        path: '/main/xingzheng/gdzichanbq/gdzichanbq',
        component: () => import('@/views/main/xingzheng/gdzichanbq/gdzichanbq.vue'),
        meta: { title: '固定资产标签' }
    },
    {
        path: '/main/xingzheng/gdzichanbq/gdzichanbqList',
        component: () => import('@/views/main/xingzheng/gdzichanbq/gdzichanbqList.vue'),
        meta: { title: '固定资产标签列表' }
    },
    {
        path: '/main/xingzheng/sblvlibiao/sblvlibiao',
        component: () => import('@/views/main/xingzheng/sblvlibiao/sblvlibiao.vue'),
        meta: { title: '机器设备履历卡' }
    },
    {
        path: '/main/xingzheng/sblvlibiao/sblvlibiaoList',
        component: () => import('@/views/main/xingzheng/sblvlibiao/sblvlibiaoList.vue'),
        meta: { title: '机器设备履历卡列表' }
    },

    {
        path: '/main/xingzheng/gdzctongji/gdzctongji',
        component: () => import('@/views/main/xingzheng/gdzctongji/gdzctongji.vue'),
        meta: { title: '新增固定资产月度统计表' }
    },
    {
        path: '/main/xingzheng/gdzctongji/gdzctongjiList',
        component: () => import('@/views/main/xingzheng/gdzctongji/gdzctongjiList.vue'),
        meta: { title: '固定资产月度统计表列表' }
    },
    {
        path: '/main/xingzheng/zhifuzmd/zhifuzmd',
        component: () => import('@/views/main/xingzheng/zhifuzmd/zhifuzmd.vue'),
        meta: { title: '支付证明单' }
    },
    {
        path: '/main/xingzheng/zhifuzmd/zhifuzmdList',
        component: () => import('@/views/main/xingzheng/zhifuzmd/zhifuzmdList.vue'),
        meta: { title: '支付证明单列表' }
    },

    {
        path: '/main/xingzheng/shengoudan/shengoudan',
        component: () => import('@/views/main/xingzheng/shengoudan/shengoudan.vue'),
        meta: { title: '申购单' }
    },
    {
        path: '/main/xingzheng/shengoudan/shengoudanList',
        component: () => import('@/views/main/xingzheng/shengoudan/shengoudanList.vue'),
        meta: { title: '申购单列表' }
    },

    {
        path: '/main/xingzheng/gdzczhuxiao/gdzczhuxiao',
        component: () => import('@/views/main/xingzheng/gdzczhuxiao/gdzczhuxiao.vue'),
        meta: { title: '固定资产注销申请单' }
    },
    {
        path: '/main/xingzheng/gdzczhuxiao/gdzczhuxiaoList',
        component: () => import('@/views/main/xingzheng/gdzczhuxiao/gdzczhuxiaoList.vue'),
        meta: { title: '固定资产注销申请单列表' }
    },

    {
        path: '/main/xingzheng/shebeiguifan/shebeiguifan',
        component: () => import('@/views/main/xingzheng/shebeiguifan/shebeiguifan.vue'),
        meta: { title: '设备仪器管理规范（文件）' }
    },

    {
        path: '/main/xingzheng/gdzcliucheng/gdzcliucheng',
        component: () => import('@/views/main/xingzheng/gdzcliucheng/gdzcliucheng.vue'),
        meta: { title: '固定资产盘点作业流程（流程）' }
    },
    {
        path: '/main/xingzheng/sbyanshoudan/sbyanshoudan',
        component: () => import('@/views/main/xingzheng/sbyanshoudan/sbyanshoudan.vue'),
        meta: { title: '设备验收单' }
    },
    {
        path: '/main/xingzheng/cunhuopandian/cunhuopandian',
        component: () => import('@/views/main/xingzheng/cunhuopandian/cunhuopandian.vue'),
        meta: { title: '    年    月存货盘点表  ' }
    },
    {
        path: '/main/xingzheng/cunhuopdbaogao/cunhuopdbaogao',
        component: () => import('@/views/main/xingzheng/cunhuopdbaogao/cunhuopdbaogao.vue'),
        meta: { title: '    年    月存货盘点报告表  ' }
    },
    {
        path: '/main/xingzheng/wjfafanghs/wjfafanghs',
        name: 'Wjfafanghs',
        component: () => import('@/views/main/xingzheng/wjfafanghs/wjfafanghs.vue'),
        meta: { title: '文件发放与回收记录' }   
    },
    {
        path: '/main/xingzheng/gdzichanglbf/gdzichanglbf',
        component: () => import('@/views/main/xingzheng/gdzichanglbf/gdzichanglbf.vue'),
        meta: { title: '固定资产管理办法' }
    },
    {
        path: '/main/xingzheng/wjfafanghs/hesuanwjfafanghs',
        component: () => import('@/views/main/xingzheng/wjfafanghs/hesuanwjfafanghs.vue'),
        meta: { title: '固定资产核算文件发放与回收记录' }
    },
    {
        path: '/main/xingzheng/wjxiudinsqd/wjxiudinsqd',
        component: () => import('@/views/main/xingzheng/wjxiudinsqd/wjxiudinsqd.vue'),
        meta: { title: '固定资产管理办法文件新增/修订/废止申请单' }
    },
    {
        path: '/main/xingzheng/gzhesuanliuchen/gzhesuanliuchen',
        component: () => import('@/views/main/xingzheng/gzhesuanliuchen/gzhesuanliuchen.vue'),
        meta: { title: '固定资产核算流程' }
    },
    {
        path: '/main/xingzheng/wjxiudinsqd/hesuanwjxiudinsqd',
        component: () => import('@/views/main/xingzheng/wjxiudinsqd/hesuanwjxiudinsqd.vue'),
        meta: { title: '固定资产核算文件新增/修订/废止申请单' }
    },

    // 人事管理相关路由
    {
        path: '/main/renshi',
        component: () => import('@/views/main/renshi/renshi.vue'),
        meta: { title: '人事管理' }
    },


    {
        path: '/main/renshi/dangan/employeeFileList',
        name: 'employeeFileList',
        component: () => import('@/views/main/renshi/dangan/employeeFileList.vue'),
        meta: { title: '员工档案列表' }
    },
    // 新增
    {
        path: '/main/renshi/dangan/employeeFileInfoStream',
        name: 'employeeFileInfoStream',
        component: () => import('@/views/main/renshi/dangan/employeeFileInfoStream.vue'),
        meta: { title: '新增员工档案流程' }
    },
    // 查看员工档案
    {
        path: '/main/renshi/dangan/employeeFileInfoView',
        name: 'employeeFileInfoView',
        component: () => import('@/views/main/renshi/dangan/employeeFileInfoView.vue'),
        meta: { title: '查看员工档案' }
    },



    //人事制度
    {
        path: '/main/renshi/renshizhidu',
        component: () => import('@/views/main/renshi/renshizhidu/renshizhidu.vue'),
        meta: { title: '人事制度' }
    },
    {
        path: '/main/renshi/renshizhidu/tiaoxiusq/tiaoxiusq',
        component: () => import('@/views/main/renshi/renshizhidu/tiaoxiusq/tiaoxiusq.vue'),
        meta: { title: '调休申请单' }
    },
    {
        path: '/main/renshi/renshizhidu/tiaoxiusq/tiaoxiusqList',
        component: () => import('@/views/main/renshi/renshizhidu/tiaoxiusq/tiaoxiusqList.vue'),
        meta: { title: '调休申请单列表' }
    },

    {
        path: '/main/renshi/renshizhidu/gzyijiaodan/gzyijiaodan',
        component: () => import('@/views/main/renshi/renshizhidu/gzyijiaodan/gzyijiaodan.vue'),
        meta: { title: '工作移交单' }
    },
    {
        path: '/main/renshi/renshizhidu/gzyijiaodan/gzyijiaodanList',
        component: () => import('@/views/main/renshi/renshizhidu/gzyijiaodan/gzyijiaodanList.vue'),
        meta: { title: '工作移交单列表' }
    },

    {
        path: '/main/renshi/renshizhidu/shouruzm/shouruzm',
        component: () => import('@/views/main/renshi/renshizhidu/shouruzm/shouruzm.vue'),
        meta: { title: '收入证明' }
    },
    {
        path: '/main/renshi/renshizhidu/shouruzm/shouruzmList',
        component: () => import('@/views/main/renshi/renshizhidu/shouruzm/shouruzmList.vue'),
        meta: { title: '收入证明列表' }
    },

    {
        path: '/main/renshi/renshizhidu/lizhisqd/lizhisqd',
        component: () => import('@/views/main/renshi/renshizhidu/lizhisqd/lizhisqd.vue'),
        meta: { title: '职员/员工离职申请表' }
    },
    {
        path: '/main/renshi/renshizhidu/lizhisqd/lizhisqdList',
        component: () => import('@/views/main/renshi/renshizhidu/lizhisqd/lizhisqdList.vue'),
        meta: { title: '职员/员工离职申请表列表' }
    },

    {
        path: '/main/renshi/renshizhidu/xygshiyong/xygshiyong',
        component: () => import('@/views/main/renshi/renshizhidu/xygshiyong/xygshiyong.vue'),
        meta: { title: '新员工实习试用表' }
    },
    {
        path: '/main/renshi/renshizhidu/xygshiyong/xygshiyongList',
        component: () => import('@/views/main/renshi/renshizhidu/xygshiyong/xygshiyongList.vue'),
        meta: { title: '新员工实习试用表列表' }
    },

    {
        path: '/main/renshi/renshizhidu/skyichangdj/skyichangdj',
        component: () => import('@/views/main/renshi/renshizhidu/skyichangdj/skyichangdj.vue'),
        meta: { title: '刷卡异常登记表' }
    },
    {
        path: '/main/renshi/renshizhidu/skyichangdj/skyichangdjList',
        component: () => import('@/views/main/renshi/renshizhidu/skyichangdj/skyichangdjList.vue'),
        meta: { title: '刷卡异常登记表列表' }
    },
    {
        path: '/main/renshi/renshizhidu/wblianluod/wblianluod',
        component: () => import('@/views/main/renshi/renshizhidu/wblianluod/wblianluod.vue'),
        meta: { title: '外部联络函' }
    },
    {
        path: '/main/renshi/renshizhidu/wblianluod/wblianluodList',
        component: () => import('@/views/main/renshi/renshizhidu/wblianluod/wblianluodList.vue'),
        meta: { title: '外部联络函列表' }
    },

    {
        path: '/main/renshi/renshizhidu/nblianluoh/nblianluoh',
        component: () => import('@/views/main/renshi/renshizhidu/nblianluoh/nblianluoh.vue'),
        meta: { title: '内部联络函' }
    },
    {
        path: '/main/renshi/renshizhidu/nblianluoh/nblianluohList',
        component: () => import('@/views/main/renshi/renshizhidu/nblianluoh/nblianluohList.vue'),
        meta: { title: '内部联络函列表' }
    },

    {
        path: '/main/renshi/renshizhidu/jichabiao/jichabiao',
        component: () => import('@/views/main/renshi/renshizhidu/jichabiao/jichabiao.vue'),
        meta: { title: '文件/资料稽查表' }
    },
    {
        path: '/main/renshi/renshizhidu/jichabiao/jichabiaoList',
        component: () => import('@/views/main/renshi/renshizhidu/jichabiao/jichabiaoList.vue'),
        meta: { title: '文件/资料稽查表列表' }
    },
    {
        path: '/main/renshi/renshizhidu/neibudiaodong/neibudiaodong',
        component: () => import('@/views/main/renshi/renshizhidu/neibudiaodong/neibudiaodong.vue'),
        meta: { title: '员工内部调动审批' }
    },
    {
        path: '/main/renshi/renshizhidu/neibudiaodong/neibudiaodongList',
        component: () => import('@/views/main/renshi/renshizhidu/neibudiaodong/neibudiaodongList.vue'),
        meta: { title: '员工内部调动审批列表' }
    },

    {
        path: '/main/renshi/renshizhidu/dianfeihs/dianfeihs',
        component: () => import('@/views/main/renshi/renshizhidu/dianfeihs/dianfeihs.vue'),
        meta: { title: '发电费用核算表' }
    },
    {
        path: '/main/renshi/renshizhidu/dianfeihs/dianfeihsList',
        component: () => import('@/views/main/renshi/renshizhidu/dianfeihs/dianfeihsList.vue'),
        meta: { title: '发电费用核算表列表' }
    },


    {
        path: '/main/renshi/renshizhidu/gongwuwxsqd/gongwuwxsqd',
        component: () => import('@/views/main/renshi/renshizhidu/gongwuwxsqd/gongwuwxsqd.vue'),
        meta: { title: '工务维修申请单' }
    },
    {
        path: '/main/renshi/renshizhidu/gongwuwxsqd/gongwuwxsqdList',
        component: () => import('@/views/main/renshi/renshizhidu/gongwuwxsqd/gongwuwxsqdList.vue'),
        meta: { title: '工务维修申请单列表' }
    },

    {
        path: '/main/renshi/renshizhidu/yfrsyidong/yfrsyidong',
        component: () => import('@/views/main/renshi/renshizhidu/yfrsyidong/yfrsyidong.vue'),
        meta: { title: '月份人事异动令' }
    },
    {
        path: '/main/renshi/renshizhidu/yfrsyidong/yfrsyidongList',
        component: () => import('@/views/main/renshi/renshizhidu/yfrsyidong/yfrsyidongList.vue'),
        meta: { title: '月份人事异动令列表' }
    },

    {
        path: '/main/renshi/renshizhidu/yglizhi/yglizhi',
        component: () => import('@/views/main/renshi/renshizhidu/yglizhi/yglizhi.vue'),
        meta: { title: '员工离职程序二联单' }
    },
    {
        path: '/main/renshi/renshizhidu/yglizhi/yglizhiList',
        component: () => import('@/views/main/renshi/renshizhidu/yglizhi/yglizhiList.vue'),
        meta: { title: '员工离职程序二联单列表' }
    },

    {
        path: '/main/renshi/renshizhidu/ygligangdjb/ygligangdjb',
        component: () => import('@/views/main/renshi/renshizhidu/ygligangdjb/ygligangdjb.vue'),
        meta: { title: '员工离岗登记表' }
    },
    {
        path: '/main/renshi/renshizhidu/ygligangdjb/ygligangdjbList',
        component: () => import('@/views/main/renshi/renshizhidu/ygligangdjb/ygligangdjbList.vue'),
        meta: { title: '员工离岗登记表列表' }
    },

    {
        path: '/main/renshi/renshizhidu/xieyishu/xieyishu',
        component: () => import('@/views/main/renshi/renshizhidu/xieyishu/xieyishu.vue'),
        meta: { title: '协议书' }
    },
    {
        path: '/main/renshi/renshizhidu/xieyishu/xieyishuList',
        component: () => import('@/views/main/renshi/renshizhidu/xieyishu/xieyishuList.vue'),
        meta: { title: '协议书列表' }
    },

    {
        path: '/main/renshi/renshizhidu/xsjiechuyi/xsjiechuyi',
        component: () => import('@/views/main/renshi/renshizhidu/xsjiechuyi/xsjiechuyi.vue'),
        meta: { title: '协商解除劳动合同协议书一（甲方提出解除适用）' }
    },
    {
        path: '/main/renshi/renshizhidu/xsjiechuyi/xsjiechuyiList',
        component: () => import('@/views/main/renshi/renshizhidu/xsjiechuyi/xsjiechuyiList.vue'),
        meta: { title: '协商解除劳动合同协议书一（甲方提出解除适用）列表' }
    },

    {
        path: '/main/renshi/renshizhidu/xsjiechuer/xsjiechuer',
        component: () => import('@/views/main/renshi/renshizhidu/xsjiechuer/xsjiechuer.vue'),
        meta: { title: '协商解除劳动合同协议书二（乙方解除适用）' }
    },
    {
        path: '/main/renshi/renshizhidu/xsjiechuer/xsjiechuerList',
        component: () => import('@/views/main/renshi/renshizhidu/xsjiechuer/xsjiechuerList.vue'),
        meta: { title: '协商解除劳动合同协议书二（乙方解除适用）列表' }
    },

    {
        path: '/main/renshi/renshizhidu/xdlaodonght/xdlaodonght',
        component: () => import('@/views/main/renshi/renshizhidu/xdlaodonght/xdlaodonght.vue'),
        meta: { title: '续订劳动合同确认书' }
    },
    {
        path: '/main/renshi/renshizhidu/xdlaodonght/xdlaodonghtList',
        component: () => import('@/views/main/renshi/renshizhidu/xdlaodonght/xdlaodonghtList.vue'),
        meta: { title: '续订劳动合同确认书列表' }
    },

    {
        path: '/main/renshi/renshizhidu/lizhizm/lizhizm',
        component: () => import('@/views/main/renshi/renshizhidu/lizhizm/lizhizm.vue'),
        meta: { title: '离职证明' }
    },
    {
        path: '/main/renshi/renshizhidu/lizhizm/lizhizmList',
        component: () => import('@/views/main/renshi/renshizhidu/lizhizm/lizhizmList.vue'),
        meta: { title: '离职证明列表' }
    },


    {
        path: '/main/renshi/renshizhidu/ygwaichufxd/ygwaichufxd',
        component: () => import('@/views/main/renshi/renshizhidu/ygwaichufxd/ygwaichufxd.vue'),
        meta: { title: '员工外出放行单' }
    },
    {
        path: '/main/renshi/renshizhidu/ygwaichufxd/ygwaichufxdList',
        component: () => import('@/views/main/renshi/renshizhidu/ygwaichufxd/ygwaichufxdList.vue'),
        meta: { title: '员工外出放行单列表' }
    },

    {
        path: '/main/renshi/renshizhidu/rsdangangl/rsdangangl',
        component: () => import('@/views/main/renshi/renshizhidu/rsdangangl/rsdangangl.vue'),
        meta: { title: '人事档案管理手册' }
    },
    {
        path: '/main/renshi/renshizhidu/rsdangangl/rsdanganglList',
        component: () => import('@/views/main/renshi/renshizhidu/rsdangangl/rsdanganglList.vue'),
        meta: { title: '人事档案管理手册列表' }
    },
    {
        path: '/main/renshi/renshizhidu/rsdajiechu/rsdajiechu',
        component: () => import('@/views/main/renshi/renshizhidu/rsdajiechu/rsdajiechu.vue'),
        meta: { title: '人事档案 借出 调阅 申请单' }

    },
    {
        path: '/main/renshi/renshizhidu/rsdajiechu/rsdajiechuList',
        component: () => import('@/views/main/renshi/renshizhidu/rsdajiechu/rsdajiechuList.vue'),
        meta: { title: '人事档案 借出 调阅 申请单列表' }
    },

    {

        path: '/main/renshi/renshizhidu/rsdazhuxiao/rsdazhuxiao',
        component: () => import('@/views/main/renshi/renshizhidu/rsdazhuxiao/rsdazhuxiao.vue'),
        meta: { title: '人事档案 注销 报废 申请单' }
    },
    {
        path: '/main/renshi/renshizhidu/rsdazhuxiao/rsdazhuxiaoList',
        component: () => import('@/views/main/renshi/renshizhidu/rsdazhuxiao/rsdazhuxiaoList.vue'),
        meta: { title: '人事档案 注销 报废 申请单列表' }
    },

    {
        path: '/main/renshi/renshizhidu/rsdaguanligd/rsdaguanligd',
        component: () => import('@/views/main/renshi/renshizhidu/rsdaguanligd/rsdaguanligd.vue'),
        meta: { title: '人事档案管理规定' }
    },


    {
        path: '/main/renshi/renshizhidu/qyzhiweisms/qyzhiweisms',
        component: () => import('@/views/main/renshi/renshizhidu/qyzhiweisms/qyzhiweisms.vue'),
        meta: { title: '企管人资组 人事专员职位说明书' }
    },



    // 人事调动
    {
        path: '/main/renshi/renshidiaodong',
        component: () => import('@/views/main/renshi/renshidiaodong/renshidiaodong.vue'),
        meta: { title: '人事调动' }
    },
    {
        path: '/main/renshi/renshidiaodong/zhuanzheng/zhuanzheng',
        name: 'Zhuanzheng',
        component: () => import('@/views/main/renshi/renshidiaodong/zhuanzheng/zhuanzheng.vue'),
        meta: { title: '员工转正' }
    },
    {
        path: '/main/renshi/renshidiaodong/zhuanzheng/list',
        name: 'ZhuanzhengList',
        component: () => import('@/views/main/renshi/renshidiaodong/zhuanzheng/zhuanzhengList.vue')
    },
    {
        path: '/main/renshi/renshidiaodong/yuangonglizhi/yuangonglizhi',
        name: 'yuangonglizhi',
        component: () => import('@/views/main/renshi/renshidiaodong/yuangonglizhi/yuangonglizhi.vue'),
        meta: { title: '员工离职' }
    },
    {
        path: '/main/renshi/renshidiaodong/lizhibanfa/lizhibanfa',
        component: () => import('@/views/main/renshi/renshidiaodong/lizhibanfa/lizhibanfa.vue'),
        meta: { title: '离职管理办法' }
    },
    {
        path: '/main/renshi/renshidiaodong/yuangongxiuzhi/yuangongxiuzhi',
        name: 'Yuangongxiuzhi',
        component: () => import('@/views/main/renshi/renshidiaodong/yuangongxiuzhi/yuangongxiuzhi.vue'),
        meta: { title: '员工休职' }
    },
    // 在路由配置中添加
    {
        path: '/main/renshi/renshidiaodong/yuangongxiuzhi/yuangongxiuzhiList',
        name: 'YuangongxiuzhiList',
        component: () => import('@/views/main/renshi/renshidiaodong/yuangongxiuzhi/yuangongxiuzhiList.vue')
    },    
    {
        path: '/main/renshi/renshidiaodong/yuangongfuzhi/yuangongfuzhi',
        name: 'Yuangongfuzhi',
        component: () => import('@/views/main/renshi/renshidiaodong/yuangongfuzhi/yuangongfuzhi.vue'),
        meta: { title: '员工复职' }
    },
    {
        path: '/main/renshi/renshidiaodong/yuangongfuzhi/yuangongfuzhiList',
        name: 'YuangongfuzhiList',
        component: () => import('@/views/main/renshi/renshidiaodong/yuangongfuzhi/yuangongfuzhiList.vue'),
        meta: { title: '员工复职列表' }
    },  



    // 班次管理
    {
        path: '/main/renshi/banciguanli',
        component: () => import('@/views/main/renshi/banciguanli/banciguanli.vue'),
        meta: { title: '班次管理' }
    },

    {
        path: '/main/renshi/banciguanli/paibanbaobiao/paibanbaobiao',
        component: () => import('@/views/main/renshi/banciguanli/paibanbaobiao/paibanbaobiao.vue'),
        meta: { title: '排班报表' }
    },

    {
        path: '/main/renshi/banciguanli/paibanshezhi/paibanshezhi',
        component: () => import('@/views/main/renshi/banciguanli/paibanshezhi/paibanshezhi.vue'),
        meta: { title: '班次管理》排班设置' }
    },


    //档案管理
    {
        path: '/main/renshi/danganguanli',
        component: () => import('@/views/main/renshi/danganguanli/danganguanli.vue'),
        meta: { title: '档案管理' }
    },
    {
        path: '/main/renshi/danganguanli/yghetong/yghetong',
        component: () => import('@/views/main/renshi/danganguanli/yghetong/yghetong.vue'),
        meta: { title: '员工合同' }
    },
    {
        path: '/main/renshi/danganguanli/yghetong/yghetongList',
        component: () => import('@/views/main/renshi/danganguanli/yghetong/yghetongList.vue'),
        meta: { title: '员工合同列表' }
    },
    {
        path: '/main/renshi/danganguanli/danganguanli/danganguanli',
        component: () => import('@/views/main/renshi/danganguanli/danganguanli/danganguanli.vue'),
        meta: { title: '档案管理》档案管理文档' }
    },
    {
        path: '/main/renshi/danganguanli/hetongshezhi/hetongshezhi',
        component: () => import('@/views/main/renshi/danganguanli/hetongshezhi/hetongshezhi.vue'),
        meta: { title: '员工合同设置' }
    },


    //假期管理
    {
        path: '/main/renshi/jiaqiguanli',
        component: () => import('@/views/main/renshi/jiaqiguanli/jiaqiguanli.vue'),
        meta: { title: '假期管理' }
    },

    {
        path: '/main/renshi/jiaqiguanli/qjhejueqxb/qjhejueqxb',
        component: () => import('@/views/main/renshi/jiaqiguanli/qjhejueqxb/qjhejueqxb.vue'),
        meta: { title: '请假核决权限表' }
    },

    {
        path: '/main/renshi/jiaqiguanli/nianjiaglgd/nianjiaglgd',
        component: () => import('@/views/main/renshi/jiaqiguanli/nianjiaglgd/nianjiaglgd.vue'),
        meta: { title: '年假管理规定' }
    },

    {
        path: '/main/renshi/jiaqiguanli/jiaqiglgd/jiaqiglgd',
        component: () => import('@/views/main/renshi/jiaqiguanli/jiaqiglgd/jiaqiglgd.vue'),
        meta: { title: '假期管理规定' }
    },


    //员工档案
    {
        path: '/main/renshi/yuangongdangan',
        component: () => import('@/views/main/renshi/yuangongdangan/yuangongdangan.vue'),
        meta: { title: '员工档案' }
    },

    //员工档案-员工管理
    {
        path: '/main/renshi/yuangongdangan/yuangongguanli/yuangongguanli',
        component: () => import('@/views/main/renshi/yuangongdangan/yuangongguanli/yuangongguanli.vue'),
        meta: { title: '员工档案》员工信息' }
    },

    //奖惩管理办法
    {
        path: '/main/renshi/yuangongdangan/yuangongguanli/jiangchengbanfa',
        component: () => import('@/views/main/renshi/yuangongdangan/yuangongguanli/jiangchengbanfa.vue'),
        meta: { title: '员工档案》员工信息》奖惩管理办法' }
    },

    //员工档案-员工语种能力信息
    {
        path: '/main/renshi/yuangongdangan/yuangongguanli/yuzhongxx',
        component: () => import('@/views/main/renshi/yuangongdangan/yuangongguanli/yuzhongxx.vue'),
        meta: { title: '员工档案》员工语种能力信息' }
    },

    //员工档案-员工工作履历信息
    {
        path: '/main/renshi/yuangongdangan/yuangongguanli/gongzuolvli',
        component: () => import('@/views/main/renshi/yuangongdangan/yuangongguanli/gongzuolvli.vue'),
        meta: { title: '员工档案》员工工作履历信息' }
    },

    //员工档案-员工证书信息
    {
        path: '/main/renshi/yuangongdangan/yuangongguanli/zhengshuxx',
        component: () => import('@/views/main/renshi/yuangongdangan/yuangongguanli/zhengshuxx.vue'),
        meta: { title: '员工档案》员工证书信息' }
    },

    //员工档案-用户管理
    {
        path: '/main/renshi/yuangongdangan/yonghuguanli/yonghuguanli',
        component: () => import('@/views/main/renshi/yuangongdangan/yonghuguanli/yonghuguanli.vue'),
    },
    //人力资源规划
    {
        path: '/main/renshi/renliziyuanguihua',
        component: () => import('@/views/main/renshi/renliziyuanguihua/renliziyuanguihua.vue'),
        meta: { title: '人力资源规划' }
    },

    {
        path: '/main/renshi/renliziyuanguihua/zhanluecm/zhanluecm',
        component: () => import('@/views/main/renshi/renliziyuanguihua/zhanluecm/zhanluecm.vue'),
        meta: { title: '人力资源规划>战略层面的人力资源规划' }
    },


    {
        path: '/main/renshi/renliziyuanguihua/renlixuqiuyc/renlixuqiuyc',
        component: () => import('@/views/main/renshi/renliziyuanguihua/renlixuqiuyc/renlixuqiuyc.vue'),
        meta: { title: '人力资源规划>人力资源需求预测' }
    },


    {
        path: '/main/renshi/renliziyuanguihua/renligongjiyc/renligongjiyc',
        component: () => import('@/views/main/renshi/renliziyuanguihua/renligongjiyc/renligongjiyc.vue'),
        meta: { title: '人力资源规划>人力资源供给预测' }
    },

    {
        path: '/main/renshi/renliziyuanguihua/rlzygongxuphgh/rlzygongxuphgh',
        component: () => import('@/views/main/renshi/renliziyuanguihua/rlzygongxuphgh/rlzygongxuphgh.vue'),
        meta: { title: '人力资源规划>人力资源供需平衡规划' }
    },

    {
        path: '/main/renshi/renliziyuanguihua/rlzypeizhigh/rlzypeizhigh',
        component: () => import('@/views/main/renshi/renliziyuanguihua/rlzypeizhigh/rlzypeizhigh.vue'),
        meta: { title: '人力资源规划>人力资源配置规划' }
    },

    {
        path: '/main/renshi/renliziyuanguihua/peixunkaifagh/peixunkaifagh',
        component: () => import('@/views/main/renshi/renliziyuanguihua/peixunkaifagh/peixunkaifagh.vue'),
        meta: { title: '人力资源规划>培训与开发规划' }
    },

    {
        path: '/main/renshi/renliziyuanguihua/xinchoufuligh/xinchoufuligh',
        component: () => import('@/views/main/renshi/renliziyuanguihua/xinchoufuligh/xinchoufuligh.vue'),
        meta: { title: '人力资源规划>薪酬与福利规划' }
    },
    {
        path: '/main/renshi/renliziyuanguihua/rlzyyucegh/rlzyyucegh',
        component: () => import('@/views/main/renshi/renliziyuanguihua/rlzyyucegh/rlzyyucegh.vue'),
        meta: { title: '人力资源规划>人力资源预测规划' }
    },

    {
        path: '/main/renshi/renliziyuanguihua/rlzypingutiaozhen/rlzypingutiaozhen',
        component: () => import('@/views/main/renshi/renliziyuanguihua/rlzypingutiaozhen/rlzypingutiaozhen.vue'),
        meta: { title: '人力资源规划>人力资源规划的评估与调整' }
    },

    //退休解聘
    {
        path: '/main/renshi/tuixiujiepin',
        component: () => import('@/views/main/renshi/tuixiujiepin/tuixiujiepin.vue'),
        meta: { title: '退休解聘' }
    },

    //假勤分析
    {
        path: '/main/renshi/jiaqingfenxi',
        component: () => import('@/views/main/renshi/jiaqingfenxi/jiaqingfenxi.vue'),
        meta: { title: '假勤分析' }
    },

    // 绩效考核 
    {
        path: '/main/renshi/jixiao',
        name: 'Jixiao',
        component: () => import('@/views/main/renshi/jixiao/jixiao.vue'),
        meta: { title: '绩效考核' }
    },
    {
        path: '/main/renshi/jixiao/nianyue',
        component: () => import('@/views/main/renshi/jixiao/nianyue.vue'),
        meta: { title: '年月工作计划与考核' }
    },
    {
        path: '/main/renshi/jixiao/nianyueList',
        component: () => import('@/views/main/renshi/jixiao/nianyueList.vue'),
        meta: { title: '年月工作计划与考核列表' }
    },
    {
        path: '/main/renshi/jixiao/jixiaojilu',
        component: () => import('@/views/main/renshi/jixiao/jixiaojilu.vue'),
        meta: { title: '绩效面谈记录表' }
    },
    {
        path: '/main/renshi/jixiao/jixiaojiluList',
        component: () => import('@/views/main/renshi/jixiao/jixiaojiluList.vue'),
        meta: { title: '绩效面谈记录表列表' }
    },
    {
        path: '/main/renshi/jixiao/jxshensu',
        component: () => import('@/views/main/renshi/jixiao/jxshensu.vue'),
        meta: { title: '绩效考评申诉表' }
    },
    {
        path: '/main/renshi/jixiao/jxshensuList',
        component: () => import('@/views/main/renshi/jixiao/jxshensuList.vue'),
        meta: { title: '绩效考评申诉表列表' }
    },
    {
        path: '/main/renshi/jixiao/xzyidong',
        component: () => import('@/views/main/renshi/jixiao/xzyidong.vue'),
        meta: { title: '职位薪资异动申请表' }
    },
    {
        path: '/main/renshi/jixiao/xzyidongList',
        component: () => import('@/views/main/renshi/jixiao/xzyidongList.vue'),
        meta: { title: '职位薪资异动申请表列表' }
    },
    {
        path: '/main/renshi/jixiao/jxjjshenqin',
        component: () => import('@/views/main/renshi/jixiao/jxjjshenqin.vue'),
        meta: { title: '绩效奖金申请单' }
    },
    {
        path: '/main/renshi/jixiao/jxjjshenqinList',
        component: () => import('@/views/main/renshi/jixiao/jxjjshenqinList.vue'),
        meta: { title: '绩效奖金申请单列表' }
    },
    {
        path: '/main/renshi/jixiao/jixiaoxize',
        component: () => import('@/views/main/renshi/jixiao/jixiaoxize.vue'),
        meta: { title: '绩效考核实施细则' }
    },
    {
        path: '/main/renshi/jixiao/wjxiudinsqd',
        name: 'Wjxiudinsqd',
        component: () => import('@/views/main/renshi/jixiao/wjxiudinsqd.vue'),
        meta: { title: '文件新增修订废止申请单' }
    },
    {
        path: '/main/renshi/jixiao/wjxiudinsqdList',
        name: 'WjxiudinsqdList',
        component: () => import('@/views/main/renshi/jixiao/wjxiudinsqdList.vue'),
        meta: { title: '文件新增修订废止申请单列表' }
    },  
    {
        path: '/main/renshi/jixiao/jxjiangjjs',
        name: 'Jxjiangjjs',
        component: () => import('@/views/main/renshi/jixiao/jxjiangjjs.vue'),
        meta: { title: '绩效奖金基数报批表' }
    },
    {
        path: '/main/renshi/jixiao/jxjiangjjsList',
        name: 'JxjiangjjsList',
        component: () => import('@/views/main/renshi/jixiao/jxjiangjjsList.vue'),
        meta: { title: '绩效奖金基数报批表列表' }
    },
    {
        path: '/main/renshi/jixiao/wjfafanghs',
        name: 'Wjfafanghs',
        component: () => import('@/views/main/renshi/jixiao/wjfafanghs.vue'),
        meta: { title: '文件发放与回收记录' }   
    },
    {
        path: '/main/renshi/jixiao/wjfafanghsList',
        name: 'WjfafanghsList',
        component: () => import('@/views/main/renshi/jixiao/wjfafanghsList.vue'),
        meta: { title: '文件发放与回收记录列表' }
    },

    // 考勤管理
    // {
    //     path: '/main/renshi/kaoqing',
    //     component: () => import('@/views/main/renshi/kaoqing/kaoqing.vue'),
    //     children: [
    //         {
    //             path: 'qingjia',
    //             component: () => import('@/views/main/renshi/kaoqing/qingjia.vue'),
    //             meta: { title: '请假申请' }
    //         },
    //         {
    //             path: 'jiabansq',
    //             component: () => import('@/views/main/renshi/kaoqing/jiabansq.vue'),
    //             meta: { title: '加班申请' }
    //         },
    //         {
    //             path: 'gwwaichu',
    //             component: () => import('@/views/main/renshi/kaoqing/gwwaichu.vue'),
    //             meta: { title: '外出申请' }
    //         },
    //         {
    //             path: 'process',
    //             component: () => import('@/views/main/renshi/kaoqing/process.vue'),
    //             meta: { title: '考勤管理流程' }
    //         },
    //         {
    //             path: 'tongji',
    //             component: () => import('@/views/main/renshi/kaoqing/tongji.vue'),
    //             meta: { title: '考勤统计' }
    //         },
    //         {
    //             path: 'baobiao',
    //             component: () => import('@/views/main/renshi/kaoqing/baobiao.vue'),
    //             meta: { title: '考勤报表' }
    //         }
    //     ]
    // },
    {
        path: '/main/renshi/kaoqing',
        component: () => import('@/views/main/renshi/kaoqing/ClockIn.vue'),
        meta: { title: '考勤管理办法' }
    },
    // 考勤设置
    {
        path: '/main/renshi/kaoqing/setting',
        component: () => import('@/views/main/renshi/kaoqing/setting/ClockInSetting.vue'),
        meta: { title: '考勤设置' }
    },
    // 考勤管理
    {
        path: '/main/renshi/kaoqing/clockin',
        component: () => import('@/views/main/renshi/kaoqing/ClockInPage.vue'),
        meta: { title: '考勤打卡' }
    },
    // 考勤规则
    {
        path: '/main/renshi/kaoqing/kaoqinguize/kaoqinguize',
        component: () => import('@/views/main/renshi/kaoqing/kaoqinguize/kaoqinguize.vue'),
        meta: { title: '考勤规则' }
    },

    {
        path: '/main/renshi/kaoqing/signin',
        component: () => import('@/views/main/renshi/kaoqing/SignIn.vue'),
        meta: { title: '考勤打卡' }
    },
    {
        path: '/main/renshi/kaoqing/jiangchen',
        component: () => import('@/views/main/renshi/kaoqing/jiangchen/jiangchen.vue'),
        meta: { title: '奖惩管理' }
    },
    {
        path: '/main/renshi/kaoqing/jiangchen/zhaunxiangjlsqd',
        component: () => import('@/views/main/renshi/kaoqing/jiangchen/zhaunxiangjlsqd.vue'),
        meta: { title: '专项奖励申请单' }
    },
    {
        path: '/main/renshi/kaoqing/jiangchen/zhaunxiangjlsqd-list',
        component: () => import('@/views/main/renshi/kaoqing/jiangchen/zhaunxiangjlsqdList.vue'),
        meta: { title: '专项奖励申请单列表' }
    },
    {
        path: '/main/renshi/kaoqing/jiangchen/jiangchengtb',
        component: () => import('@/views/main/renshi/kaoqing/jiangchen/jiangchengtb.vue'),
        meta: { title: '奖惩提报单' }
    },
    {
        path: '/main/renshi/kaoqing/jiangchen/jiangchengtb-list',
        component: () => import('@/views/main/renshi/kaoqing/jiangchen/jiangchengtbList.vue'),
        meta: { title: '奖惩提报单列表' }
    },
    // {
    //     path: '/main/renshi/kaoqing/jiangchen/jiangchengglbanfa',
    //     component: () => import('@/views/main/renshi/kaoqing/jiangchen/jiangchengglbanfa.vue'),
    //     meta: { title: '奖惩管理办法 链接word文档' }
    // },

    // 考勤管理流程相关路由
    {
        path: '/main/renshi/kaoqing/kqguanli',
        component: () => import('@/views/main/renshi/kaoqing/kqguanli/kqguanli.vue'),
        meta: { title: '考勤管理流程' }
    },
    {
        path: '/main/renshi/kaoqing/kqguanli/huizong',
        component: () => import('@/views/main/renshi/kaoqing/kqguanli/huizong.vue'),
        meta: { title: '考勤汇总表' }
    },
    {
        path: '/main/renshi/kaoqing/kqguanli/huizong-list',
        component: () => import('@/views/main/renshi/kaoqing/kqguanli/huizongList.vue'),
        meta: { title: '考勤汇总表列表' }
    },
    {
        path: '/main/renshi/kaoqing/kqguanli/kqyichanggl',
        component: () => import('@/views/main/renshi/kaoqing/kqguanli/kqyichanggl.vue'),
        meta: { title: '考勤异常确认表' }
    },
    {
        path: '/main/renshi/kaoqing/kqguanli/kqyichanggl-list',
        component: () => import('@/views/main/renshi/kaoqing/kqguanli/kqyichangglList.vue'),
        meta: { title: '考勤异常确认表列表' }
    },
    {
        path: '/main/renshi/kaoqing/churu',
        component: () => import('@/views/main/renshi/kaoqing/churu.vue'),
        meta: { title: '员工临时出入登记表' }
    },
    {
        path: '/main/renshi/kaoqing/churu-list',
        component: () => import('@/views/main/renshi/kaoqing/churuList.vue'),
        meta: { title: '员工临时出入登记表列表' }
    },
    {
        path: '/main/renshi/kaoqing/gwwaichu-process',
        name: 'GwwaichuProcess',
        component: () => import('@/views/main/renshi/kaoqing/gwwaichu-process.vue')
    },
    {
        path: '/main/renshi/kaoqing/ycchuqin',
        component: () => import('@/views/main/renshi/kaoqing/ycchuqin.vue'),
        meta: { title: '异常出勤签录申请单' }
    },
    {
        path: '/main/renshi/kaoqing/ycchuqin-list',
        component: () => import('@/views/main/renshi/kaoqing/ycchuqinList.vue'),
        meta: { title: '异常出勤签录申请单列表' }
    },
    {
        path: '/main/renshi/kaoqing/wjhuishou/wjhuishou',
        name: 'Wjhuishou',
        component: () => import('@/views/main/renshi/kaoqing/wjhuishou/wjhuishou.vue'),
        meta: { title: '文件发放与回收记录' }
    },
    {
        path: '/main/renshi/kaoqing/wjhuishou/wjhuishouList',
        name: 'WjhuishouList',
        component: () => import('@/views/main/renshi/kaoqing/wjhuishou/wjhuishouList.vue'),
        meta: { title: '文件发放与回收记录列表' }
    },
    
    {
        path: '/main/renshi/kaoqing/wjxiudin/wjxiudin',
        name: 'Wjxiudin',
        component: () => import('@/views/main/renshi/kaoqing/wjxiudin/wjxiudin.vue'),
        meta: { title: '文件新增/修订/废止申请单' }
    },
    {
        path: '/main/renshi/kaoqing/wjxiudin/wjxiudinList',
        name: 'WjxiudinList',
        component: () => import('@/views/main/renshi/kaoqing/wjxiudin/wjxiudinList.vue'),
        meta: { title: '文件新增/修订/废止申请单列表' }
    },
    {
        path: '/main/renshi/kaoqing/kqguanlibf/kqguanlibf',
        component: () => import('@/views/main/renshi/kaoqing/kqguanlibf/kqguanlibf.vue'),
        meta: { title: '考勤管理办法' }
    },
    {
        path: '/main/renshi/kaoqing/kaoqinliuchen/kaoqinliuchen',
        component: () => import('@/views/main/renshi/kaoqing/kaoqinliuchen/kaoqinliuchen.vue'),
        meta: { title: '考勤管理流程' }
    },
    {
        path: '/main/renshi/kaoqing/kqzhuanyuanzwsm/kqzhuanyuanzwsm',
        component: () => import('@/views/main/renshi/kaoqing/kqzhuanyuanzwsm/kqzhuanyuanzwsm.vue'),
        meta: { title: '企管部人资组 考勤专员职位说明书' }
    },















    // 招聘管理 
    {
        path: '/main/biao',
        name: 'Biao',
        component: () => import('@/views/main/biao/biao.vue'),
        meta: { title: '招聘管理' }
    },



    {
        path: '/main/renshi/zhaoping/zhaopingxiudin',
        component: () => import('@/views/main/renshi/zhaoping/zhaopingxiudin.vue'),
        meta: { title: '招聘管理》招聘流程修订内容' }
    },

    {
        path: '/main/biao/mianshijl',
        component: () => import('@/views/main/biao/mianshijl.vue'),
        meta: { title: '面试记录表' }
    },
    {
        path: '/main/biao/mianshijl-list',
        component: () => import('@/views/main/biao/mianshijl-list.vue'),
        meta: { title: '面试记录表列表' }
    },
    {
        path: '/main/biao/zenbus',
        component: () => import('@/views/main/biao/zenbus.vue'),
        meta: { title: '招聘管理进人员增补申请单' }
    },
    {
        path: '/main/biao/zenbus-list',
        component: () => import('@/views/main/biao/zenbus-list.vue'),
        meta: { title: '人员增补申请单列表' }
    },
    {
        path: '/main/biao/zenbu',
        component: () => import('@/views/main/biao/zenbu.vue'),
        meta: { title: 'AMSP进人员增补申请单' }
    },
    {
        path: '/main/biao/zenbu-list',
        component: () => import('@/views/main/biao/zenbu-list.vue'),
        meta: { title: '人员增补申请单列表' }
    },

    {
        path: '/main/biao/rzziliao',
        component: () => import('@/views/main/biao/rzziliao.vue'),
        meta: { title: '员工入职资料表' }
    },
    {
        path: '/main/biao/rzziliao-list',
        component: () => import('@/views/main/biao/rzziliao-list.vue'),
        meta: { title: '员工入职资料表列表' }
    },

    // {
    //     path: '/main/biao/zhufang',
    //     component: () => import('@/views/main/biao/zhufang.vue'),
    //     meta: { title: '员工住房申请表' }
    // },
    {
        path: '/main/biao/zhiweishuoming',
        component: () => import('@/views/main/biao/zhiweishuoming.vue'),
        meta: { title: '职位说明书' }
    },


    {
        path: '/main/biao/zerenshu',
        component: () => import('@/views/main/biao/zerenshu.vue'),
        meta: { title: '岗位职责目标责任书' }
    },
    {
        path: '/main/biao/zerenshuList',
        component: () => import('@/views/main/biao/zerenshuList.vue'),
        meta: { title: '岗位职责目标责任书列表' }
    },
    {
        path: '/main/biao/jibenxz',
        component: () => import('@/views/main/biao/jibenxz.vue'),
        meta: { title: '职员基本薪资核定表' }
    },
    {
        path: '/main/biao/jibenxz-list',
        component: () => import('@/views/main/biao/jibenxz-list.vue'),
        meta: { title: '职员基本薪资核定表列表' }
    },
    {
        path: '/main/biao/jixiaoxz',
        component: () => import('@/views/main/biao/jixiaoxz.vue'),
        meta: { title: '职员绩效薪资核定表' }
    },
    {
        path: '/main/biao/jixiaoxz-list',
        component: () => import('@/views/main/biao/jixiaoxz-list.vue'),
        meta: { title: '职员绩效薪资核定表列表' }
    },


    {
        path: '/main/biao/gsqiandao',
        component: () => import('@/views/main/biao/gsqiandao.vue'),
        meta: { title: '公司规章制度签到表' }
    },
    {
        path: '/main/biao/gsqiandaoList',
        component: () => import('@/views/main/biao/gsqiandaoList.vue'),
        meta: { title: '公司规章制度签到表列表' }
    },



    {
        path: '/main/biao/heding',
        component: () => import('@/views/main/biao/heding.vue'),
        meta: { title: '员工入职信息核定表' }
    },
    {
        path: '/main/biao/hedingList',
        component: () => import('@/views/main/biao/hedingList.vue'),
        meta: { title: '员工入职信息核定表列表' }
    },
    {
        path: '/main/biao/beidiao',
        component: () => import('@/views/main/biao/beidiao.vue'),
        meta: { title: '背景调查表' }
    },
    {
        path: '/main/biao/beidiao-list',
        component: () => import('@/views/main/biao/beidiao-list.vue'),
        meta: { title: '背景调查表列表' }
    },


    {
        path: '/main/renshi/zhaoping/mianshitzs/mianshitzs',
        component: () => import('@/views/main/renshi/zhaoping/mianshitzs/mianshitzs.vue'),
        meta: { title: '人事》招聘管理》面试通知书' }
    },
    {
        path: '/main/renshi/zhaoping/mianshitzs/mianshitzsList',
        component: () => import('@/views/main/renshi/zhaoping/mianshitzs/mianshitzsList.vue'),
        meta: { title: '人事》招聘管理》面试通知书列表' }
    },

    {
        path: '/main/renshi/zhaoping/luyongtzs/luyongtzs',
        component: () => import('@/views/main/renshi/zhaoping/luyongtzs/luyongtzs.vue'),
        meta: { title: '人事》招聘管理》录用通知书' }
    },
    {
        path: '/main/renshi/zhaoping/luyongtzs/luyongtzsList',
        component: () => import('@/views/main/renshi/zhaoping/luyongtzs/luyongtzsList.vue'),
        meta: { title: '人事》招聘管理》录用通知书列表' }
    },

    {
        path: '/main/renshi/zhaoping/gongzuobxhpb/gongzuobxhpb',
        component: () => import('@/views/main/renshi/zhaoping/gongzuobxhpb/gongzuobxhpb.vue'),
        meta: { title: '人事》招聘管理》工作表现核评表' }
    },

{
        path: '/main/renshi/zhaoping/gongzuobxhpb/gongzuobxhpbList',
        component: () => import('@/views/main/renshi/zhaoping/gongzuobxhpb/gongzuobxhpbList.vue'),
        meta: { title: '人事》招聘管理》工作表现核评表' }
    },


    {
        path: '/main/renshi/zhaoping/yijipgb/yijipgb',
        component: () => import('@/views/main/renshi/zhaoping/yijipgb/yijipgb.vue'),
        meta: { title: '人事》招聘管理》一级评估输出指引表' }
    },

    {
        path: '/main/renshi/zhaoping/yijipgb/yijipgbList',
        component: () => import('@/views/main/renshi/zhaoping/yijipgb/yijipgbList.vue'),
        meta: { title: '人事》招聘管理》一级评估输出指引表' }
    },

    {
        path: '/main/renshi/zhaoping/sanjianquan/sanjianquan',
        name: 'Sanjianquan',
        component: () => import('@/views/main/renshi/zhaoping/sanjianquan/sanjianquan.vue'),
        meta: { title: '人事》招聘管理》三级安全教育制度教育技能教育培训卡' }
    },
    {
        path: '/main/renshi/zhaoping/sanjianquan/sanjianquanList',
        name: 'SanjianquanList',    
        component: () => import('@/views/main/renshi/zhaoping/sanjianquan/sanjianquanList.vue'),
        meta: { title: '人事》招聘管理》三级安全教育制度教育技能教育培训卡列表' }
    },  
    {
        path: '/main/renshi/kaoqing/qingjia-process',
        name: 'QingjiaProcess',
        component: () => import('@/views/main/renshi/kaoqing/qingjia-process.vue')
      },
    {
        path: '/main/biao/pxqiandao',
        component: () => import('@/views/main/biao/pxqiandao.vue'),
        meta: { title: '新员工入职培训签到表（入职流程暂无此步，新员工入职管理有）' }
    },
    {
        path: '/main/biao/pxqiandao-list',
        component: () => import('@/views/main/biao/pxqiandao-list.vue'),
        meta: { title: '新员工入职培训签到表列表' }
    },


    //统计分析
    {
        path: '/main/renshi/tongjifenxi/tongjifenxi',
        component: () => import('@/views/main/renshi/tongjifenxi/tongjifenxi.vue'),
        meta: { title: '统计分析' }
    },
    {
        path: '/main/renshi/peixun/budget',
        component: () => import('@/views/main/renshi/peixun/budget.vue'),
        meta: { title: '培训需求' }
    },
    {
        path: '/main/renshi/peixun/plan',
        component: () => import('@/views/main/renshi/peixun/plan.vue'),
        meta: { title: '培训计划' }
    },
    {
        path: '/main/renshi/peixun/effect',
        component: () => import('@/views/main/renshi/peixun/effect.vue'),
        meta: { title: '培训实施' }
    },
    {
        path: '/main/process',
        component: () => import('@/views/main/process/index.vue'),
        children: [
            {
                path: '',  // 默认路由
                name: 'ProcessHome',
                component: () => import('@/views/main/process/home/index.vue')
            },
            {
                path: 'leave',
                name: 'ProcessLeave',
                component: () => import('@/views/main/process/leave/index.vue'),
                meta: { title: '请假流程管理' }
            },
            {
                path: 'approval',
                name: 'ProcessApproval',
                component: () => import('@/views/main/process/approval/index.vue'),
                meta: { title: '待我审批' }
            },
            {
                path: 'my',
                name: 'ProcessMy',
                component: () => import('@/views/main/process/my/index.vue'),
                meta: { title: '我的申请' }
            }
        ]
    },
    {
        path: '/main/renshi/hr',
                component: () => import('@/views/main/renshi/hr/hr.vue'),
                children: [
                    {
                path: 'process',  // 修改路径格式
                        component: () => import('@/views/main/renshi/hr/process.vue'),
                        meta: { title: '人力资源管理流程' }
                    }
                ]
    },
    {
        path: '/main/network/plan',
        component: () => import('@/views/main/network/plan/plan.vue'),
        children: [
            {
                path: 'process',
                component: () => import('@/views/main/network/plan/process.vue'),
                meta: { title: '网络发展规划流程' }
            }
        ]
    },
    {
        path: '/main/renshi/insurance',
        component: () => import('@/views/main/renshi/insurance/insurance.vue'),
        children: [
            {
                path: 'process',
                component: () => import('@/views/main/renshi/insurance/process.vue'),
                meta: { title: '社会保险办理流程' }
            }
        ]
    },
    {
        path: '/main/renshi/salary',
        component: () => import('@/views/main/renshi/salary/salary.vue'),
        children: [
            {
                path: 'process',
                component: () => import('@/views/main/renshi/salary/process.vue'),
                meta: { title: '薪资核算与发放流程' }
            }
        ]
    },
    {
        path: '/main/renshi/position',
        component: () => import('@/views/main/renshi/position/position.vue'),
        children: [
            {
                path: 'process',
                component: () => import('@/views/main/renshi/position/process.vue'),
                meta: { title: '职位异动管理流程' }
            }
        ]
    },
    {
        path: '/main/xingzheng/banner',
        component: () => import('@/views/main/xingzheng/banner/banner.vue'),
        children: [
            {
                path: 'process',
                component: () => import('@/views/main/xingzheng/banner/process.vue'),
                meta: { title: '宣传标识牌横幅制作流程' }
            }
        ]
    },
    {
        path: '/main/xingzheng/computer/scrap',
        component: () => import('@/views/main/xingzheng/computer/scrap/scrap.vue'),
        children: [
            {
                path: 'process',
                component: () => import('@/views/main/xingzheng/computer/scrap/process.vue'),
                meta: { title: '电脑报废申请流程' }
            }
        ]
    },
    {
        path: '/main/xingzheng/asset/inventory',
        component: () => import('@/views/main/xingzheng/asset/inventory/index.vue'),
        children: [
            {
                path: 'process',
                component: () => import('@/views/main/xingzheng/asset/inventory/process.vue'),
                meta: { title: '固定资产盘点流程' }
            },
            {
                path: 'apply',
                component: () => import('@/views/main/xingzheng/asset/inventory/apply.vue'),
                meta: { title: '发起盘点申请' }
            },
            {
                path: 'plan',
                component: () => import('@/views/main/xingzheng/asset/inventory/plan.vue'),
                meta: { title: '盘点计划制定' }
            },
            {
                path: 'execute',
                component: () => import('@/views/main/xingzheng/asset/inventory/execute.vue'),
                meta: { title: '盘点执行' }
            },
            {
                path: 'check',
                component: () => import('@/views/main/xingzheng/asset/inventory/check.vue'),
                meta: { title: '盘点核对' }
            },
            {
                path: 'report',
                component: () => import('@/views/main/xingzheng/asset/inventory/report.vue'),
                meta: { title: '盘点报告' }
            }
        ]
    },
    {
        path: '/main/xingzheng/affairs',
        component: () => import('@/views/main/xingzheng/affairs/index.vue'),
        children: [
            {
                path: 'process',
                component: () => import('@/views/main/xingzheng/affairs/process.vue'),
                meta: { title: '行政事务管理流程' }
            },
            {
                path: 'apply',
                component: () => import('@/views/main/xingzheng/affairs/apply.vue'),
                meta: { title: '事务申请' }
            },
            {
                path: 'handle',
                component: () => import('@/views/main/xingzheng/affairs/handle.vue'),
                meta: { title: '事务处理' }
            },
            {
                path: 'feedback',
                component: () => import('@/views/main/xingzheng/affairs/feedback.vue'),
                meta: { title: '处理反馈' }
            },
            {
                path: 'evaluate',
                component: () => import('@/views/main/xingzheng/affairs/evaluate.vue'),
                meta: { title: '满意度评价' }
            }
        ]
    },
    {
        path: '/main/huanjing',
        component: Layout,
        children: [
            {
                path: 'process',
                name: 'EnvironmentProcess',
                component: () => import('@/views/main/huanjing/process.vue'),
                meta: { title: '环境与卫生管理' }
            },
            {
                path: 'clean/apply',
                name: 'CleanApply',
                component: () => import('@/views/main/huanjing/clean/apply.vue'),
                meta: { title: '清洁申请' }
            },
            {
                path: 'disinfect/apply',
                name: 'DisinfectApply',
                component: () => import('@/views/main/huanjing/disinfect/apply.vue'),
                meta: { title: '消杀申请' }
            },
            {
                path: 'green/apply',
                name: 'GreenApply',
                component: () => import('@/views/main/huanjing/green/apply.vue'),
                meta: { title: '绿化养护申请' }
            },
            {
                path: ':type/detail/:id',
                name: 'EnvironmentDetail',
                component: () => import('@/views/main/huanjing/detail.vue'),
                meta: { title: '申请详情' }
            }
        ]
    },

    {
        path: '/main/development',
        component: Layout,
        children: [
            {
                path: '',
                component: () => import('@/views/main/development/development.vue'),
                meta: { title: '研发管理' }
            },
            {
                path: 'design',
                component: () => import('@/views/main/development/design/index.vue'),
                meta: { title: '系统设计管理' }
            },
            {
                path: 'coding',
                component: () => import('@/views/main/development/coding/index.vue'), 
                meta: { title: '系统开发管理' }
            },
            {
                path: 'error',
                component: () => import('@/views/main/development/error/index.vue'),
                meta: { title: '系统报错管理' }
            }
        ]
    },
    // 在 routes 配置中的 children 数组中添加以下路由
    {
      path: '/main/renshi/employee/process',
      component: () => import('@/views/main/renshi/employee/process.vue'),
      meta: { title: '员工资料管理流程' }
    },
    {
      path: '/main/renshi/employee/basic',
      component: () => import('@/views/main/renshi/employee/basic.vue'),
      meta: { title: '基本信息管理' }
    },
    {
      path: '/main/renshi/employee/contract',
      component: () => import('@/views/main/renshi/employee/contract.vue'),
      meta: { title: '合同信息管理' }
    },
    {
      path: '/main/renshi/employee/archive',
      component: () => import('@/views/main/renshi/employee/archive.vue'),
      meta: { title: '档案信息管理' }
    },
            {
                path: '/main/security/network/process',
                component: () => import('@/views/main/security/network/process.vue'),
                meta: { title: '网络安全管理流程' }
            },
            {
                path: '/main/security/network/risk',
                component: () => import('@/views/main/security/network/risk.vue'),
                meta: { title: '网络风险评估' }
            },
            {
                path: '/main/security/network/monitor',
                component: () => import('@/views/main/security/network/monitor.vue'),
                meta: { title: '网络监控' }
            },
            {
                path: '/main/security/network/incident',
                component: () => import('@/views/main/security/network/incident.vue'),
                meta: { title: '安全事件处理' }
            },
            {
                path: '/main/security/network/report',
                component: () => import('@/views/main/security/network/report.vue'),
                meta: { title: '安全报告' }
            }
]

const router = new VueRouter({
    mode: 'history',
    base: process.env.BASE_URL,
    routes
})

router.beforeEach((to, from, next) => {
    console.log('Route change:', to.path)
    next()
})

export default router